import { Schema, model } from "mongoose";

const ChatSchema = new Schema({
    'session_id': { type: String, require: true },
    role: { type: String, require: true },
    content: { type: String, require: true },
    'create_time': { type: Number, require: true },
});

export default model('Chat', ChatSchema);